package com.bcmusic.user.service;

import com.bcmusic.user.pojo.DistributorIdentification;
import com.github.pagehelper.PageInfo;

import java.util.List;

/****
 * @Author:admin
 * @Description:DistributorIdentification业务层接口
 * @Date 2019/6/14 0:16
 *****/
public interface DistributorIdentificationService {

    /***
     * DistributorIdentification多条件分页查询
     * @param distributorIdentification
     * @param page
     * @param size
     * @return
     */
    PageInfo<DistributorIdentification> findPage(DistributorIdentification distributorIdentification, int page, int size);

    /***
     * DistributorIdentification分页查询
     * @param page
     * @param size
     * @return
     */
    PageInfo<DistributorIdentification> findPage(int page, int size);

    /***
     * DistributorIdentification多条件搜索方法
     * @param distributorIdentification
     * @return
     */
    List<DistributorIdentification> findList(DistributorIdentification distributorIdentification);

    /***
     * 删除DistributorIdentification
     * @param id
     */
    void delete(Long id);

    /***
     * 修改DistributorIdentification数据
     * @param distributorIdentification
     */
    void update(DistributorIdentification distributorIdentification);

    /***
     * 新增DistributorIdentification
     * @param distributorIdentification
     */
    DistributorIdentification add(DistributorIdentification distributorIdentification);

    /**
     * 根据ID查询DistributorIdentification
     * @param id
     * @return
     */
     DistributorIdentification findById(Long id);

    /***
     * 查询所有DistributorIdentification
     * @return
     */
    List<DistributorIdentification> findAll();

    /**
     * 动态更新
     * @param distributorIdentification
     */
    DistributorIdentification updateSelective(DistributorIdentification distributorIdentification);
}
